package com.lyfx.ly.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * **课程具体学习步骤**
 * 
 * @author lsy
 * @email lsy@gmail.com
 * @date 2020-07-11 17:57:41
 */
@Data
@TableName("ly_study_step")
public class StudyStepEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 学习步骤id主键
	 */
	@TableId
	private Long stepId;
	/**
	 * 步骤名字
	 */
	private String stepName;
	/**
	 * 步骤父id
	 */
	private Long parentSid;
	/**
	 * 步骤层级
	 */
	private Integer stepLevel;
	/**
	 * 课程id
	 */
	private Long courseId;
	/**
	 * 阅读人数
	 */
	private Integer readNum;
	/**
	 * 排序
	 */
	private Integer sort;
	/**
	 * 状态  0：删除   1：正常
	 */
	@TableField("is_status")
	@TableLogic
	private Integer status;
	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date gmtCreate;
	/**
	 * 更新时间
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date gmtModified;

}
